/**
 * 
 */
package com.example.radioclub.music.adapter;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

import android.content.Context;
import android.view.View;
import android.view.ViewGroup;
import android.widget.SimpleAdapter;

/**
 * This is adapter for playlist page.
 * 
 * @author wizard
 * 
 */
public class PlaylistAdapter extends SimpleAdapter {
	private ArrayList<Object> musicList;
	private Context context;

	public PlaylistAdapter(Context context, ArrayList<Object> list) {
		super(context, null, 0, new String[] {}, new int[] {});
		// TODO Auto-generated constructor stub

		this.context = context;
		this.musicList = list;

	}

	@Override
	public int getCount() {
		// TODO Auto-generated method stub
		return this.musicList.size();
	}

	@Override
	public View getView(int position, View convertView, ViewGroup parent) {
		// TODO Auto-generated method stub
		return super.getView(position, convertView, parent);
	}

}
